<template>
  <div>
    <v-table :data='data' :columns='columns'></v-table>
  </div>
</template>
<script>
import VTable from './Table'
export default {
  components:{
    VTable
  },
  data(){
    return{
      columns: [
        {title: '姓名', key: 'name'},
        {title: '年龄', key: 'age', sortable: true},
        {title: '地址', key: 'address'},
      ],
      data: [
        {name: '王小明', age: 18, birthday: '1999-02-21', address: '北京市朝阳区芍药局'},
        {name: '李白', age: 28, birthday: '1998-02-21', address: '甘肃省兰州市城关区'},
        {name: '鲁班七号', age: 25, birthday: '1999-02-21', address: '临洮县新添镇'}
      ]
    }
  }
}
</script>
<style scoped>

</style>


